package com.wuyi.tea.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wuyi.tea.domain.pojo.Address;
import com.wuyi.tea.mapper.AddressMapper;
import com.wuyi.tea.service.AddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 30793
 */
@Service
public class AddressServiceImpl extends ServiceImpl<AddressMapper,Address> implements AddressService {
    @Autowired
    private AddressMapper addressMapper;
    @Override
    public List<Address> listById(Address address) {
        return addressMapper.listById(address);
    }
}
